<?php
use yii\helpers\Html;
use yii\helpers\Url;

/* @var $this \yii\web\View */
/* @var $model \app\models\Job */

?>

<?php foreach ($models as $model): ?>
<li class="ui-border-t" data-href="<?= Url::to(['job/detail', 'id' => $model->id]); ?>">
    <div class="ui-list-img">
        <span style="background-image:url(<?= $model->getThumb(); ?>)"></span>
    </div>
    <div class="ui-list-info">
        <h4>
<!--            <span class="fr red">--><?//= Html::encode($model->salary); ?><!--</span>-->
            <span class="career-name ui-nowrap"><?= Html::encode($model->title); ?></span>
        </h4>
        <h5><?= Html::encode($model->company); ?></h5>
        <p><?= Html::encode($model->city); ?> | <?= Html::encode($model->work_time); ?>
            <span class="fr"><?= date('m-d', $model->ctime); ?></span>
        </p>
        <p><?= Html::encode($model->job_type); ?></p>
    </div>
</li>
<?php endforeach; ?>